@layout("/common/_container.html",{js:["/assets/modular/system/btyPaymentOrderDetails/btyPaymentOrderYybb.js"],css:["/assets/common/css/beautiful.css"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">日帐现金收款查询</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">


                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">营业日期</label>
                                <div class="layui-input-inline">
                                    <input id="timeLimit" class="layui-input" type="text" autocomplete="off"
                                           placeholder="时间"/>
                                </div>
                            </div>

                            <div class="layui-inline">
                                <label class="layui-form-label">支付日期</label>
                                <div class="layui-input-inline">
                                    <input id="timeLimitPay" class="layui-input" type="text" autocomplete="off"
                                           placeholder="时间"/>
                                </div>
                            </div>

                            <div class="layui-inline">
                                <label class="layui-form-label">支付渠道</label>
                                <div class="layui-inline lablew">
                                    <select id="paymentChannel" name="paymentChannel" placeholder="请选择渠道">
                                        <option value="">全部</option>
                                        <option value="1">乐刷</option>
                                        <option value="2">随行付</option>
                                    </select>
                                </div>
                            </div>

                            <div class="layui-inline">
                                <label class="layui-form-label">现金</label>
                                <div class="layui-inline lablew">
                                    <select id="xjHave" name="xjHave" placeholder="现金">
                                        <option value="2">有</option>
                                        <option value="1">无</option>
                                        <option value="">全部</option>
                                    </select>
                                </div>
                            </div>

                            <div class="layui-inline">
                                <label class="layui-form-label">充值现金</label>
                                <div class="layui-inline lablew">
                                    <select id="xjbzHave" name="xjbzHave" placeholder="天财现金">
                                        <option value="">全部</option>
                                        <option value="2">有</option>
                                        <option value="1">无</option>
                                    </select>
                                </div>
                            </div>


                            <div class="layui-inline">
                                <label class="layui-form-label">现金差额</label>
                                <div class="layui-inline lablew">
                                    <select id="cashBalance" name="cashBalance" placeholder="请选择状态">
                                        <option value="">全部</option>
                                        <option value="2">有</option>
                                        <option value="1">无</option>
                                    </select>
                                </div>
                            </div>



                            <div class="layui-inline">
                                <label class="layui-form-label">随行付账号</label>
                                <div class="layui-inline lablew">
                                    <select id="suixingfuShopNum" name="suixingfuShopNum" placeholder="请选择随行付账号" >
                                        <option value=''>全部随行付账号</option>
                                    </select>
                                </div>
                            </div>

                            <div class="layui-inline">
                                <label class="layui-form-label">店名或妖码</label>
                                <div class="layui-input-inline">
                                    <input id="dmOrYaoma" class="layui-input" type="text" placeholder="请根据店名、妖码查询" autocomplete="off"/>
                                </div>
                            </div>

                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn layui-btn-sm marrig">搜索</button>
<!--                                <button id="btnAdd" class="layui-btn layui-btn-sm"><i class="layui-icon">&#xe654;</i>添加</button>-->
                                <button id="btnExp" class="layui-btn layui-btn-sm">导出</button>
                                <button id="sendMsg" class="layui-btn layui-btn-sm">提醒店长</button>
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="BtyPaymentOrderYybbTable" lay-filter="BtyPaymentOrderYybbTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>



<script type="text/html" id="payInfoHtml">
    {{# if(d.bpoPayCode){ }}
        <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="payInfo">详情</a>
    {{#  } }}
    <!--    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>-->
</script>


<script type="text/html" id="payMethodHtml">
    {{# if(d.bpoPayMethod == 'SDZF'){ }}
    <div>手动添加({{d.bpoManuallyAddUser}})</div>
    {{#  } }}

    {{# if(d.bpoPayMethod == 'WX'){ }}
    <div>微信</div>
    {{#  } }}
    <!--    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>-->
</script>


<script type="text/html" id="bpoSuixingfuShopNumHtml">
    {{# if(d.bpoSuixingfuShopNum){ }}
    <div>{{d.bpoSuixingfuShopNum.substr(-4)}}(完整商户号:{{d.bpoSuixingfuShopNum}})</div>
    {{#  } }}
</script>




<script type="text/html" id="cashBalanceHtml">
    {{# if(d.bpoPayCode){ }}
        {{d.xj + d.xjbz - d.bpodPaidCash }}
    {{#  }else{ }}
        {{d.xj + d.xjbz}}
    {{#  } }}
    <!--    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>-->
</script>



<script type="text/html" id="tableBar">
    {{# if(d.bpoPayCode){ }}
    {{#  }else if((d.xj + d.xjbz) != 0){ }}
        <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="manualOperation">手动操作</a>
    {{#  } }}
<!--    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>-->
<!--    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>-->
</script>





@}